<?php 
/*
    // File: /app/views/ledgers/csv/export.ctp 
    
    // Loop through the data array 
  
    foreach ($data as $row) 
    { 
        // Loop through every value in a row 
        foreach ($row['Ledger'] as &$value) 
        { 
            // Apply opening and closing text delimiters to every value 
            $value = "\"".$value."\""; 
        } 
        // Echo all values in a row comma separated 
        echo implode(",",$row['Ledger'])."\n"; 
    } 

 // 	echo $this->Form->create('Ledger',array('url'=>'/ledgers/export/orders_'.date("Ymd").'.csv'));
   echo $this->RequestHandler->addInputType('csv', array($data));      
 */   
?> 

